package service.impl;

import java.sql.SQLException;
import java.util.List;

import domain.vo.queryObject;

import module.RequirementHouse;
import service.requirementHouseService;
/**
 * 
* @ClassName: RequirementHouseServiceImpl
* @Description: 房屋需求服务层实现类
* @author chenchao
* @date 2013-10-31 上午07:50:34
*
 */
public class RequirementHouseServiceImpl extends requirementHouseService {

	/* (non-Javadoc)
	 * @see service.basicService#countByQueryObject(domain.vo.queryObject)
	 */
	public int countByQueryObject(queryObject queryObject) throws SQLException {
		// TODO Auto-generated method stub
		return requirementHouseDAO.countByQueryObject(queryObject);
	}

	/* (non-Javadoc)
	 * @see service.basicService#getObjectByQueryObject(domain.vo.queryObject)
	 */
	public List<RequirementHouse> getObjectByQueryObject(queryObject queryObject) throws SQLException {
		// TODO Auto-generated method stub
		return requirementHouseDAO.getObjectByQueryObject(queryObject);
	}

	/* (non-Javadoc)
	 * @see service.basicService#deleteT(java.lang.Object)
	 */
	public void deleteT(RequirementHouse t) throws SQLException {
		// TODO Auto-generated method stub
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#getAll()
	 */
	public List<RequirementHouse> getAll() throws SQLException {
		// TODO Auto-generated method stub
		return requirementHouseDAO.getAll();
	}

	/* (non-Javadoc)
	 * @see service.basicService#getById(java.lang.String)
	 */
	public RequirementHouse getById(String id) throws SQLException {
		// TODO Auto-generated method stub
		return requirementHouseDAO.getById(id);
	}

	/* (non-Javadoc)
	 * @see service.basicService#insertObject(java.lang.Object)
	 */
	public void insertObject(RequirementHouse t) throws SQLException {
		requirementHouseDAO.insertT(t);
		
	}

	/* (non-Javadoc)
	 * @see service.basicService#updateObject(java.lang.Object)
	 */
	public void updateObject(RequirementHouse t) throws SQLException {
		requirementHouseDAO.updateT(t);
		
	}

}
